import request from "../utils/fetch";

export function getTrainAllList(data) {
  return request({
    url: "/api/train/getTrainAllList",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
export function getTrainHomeList(data) {
  return request({
    url: "/api/train/getTrainHomeList",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
export function getTrainMySignList(data) {
  return request({
    url: "/api/train/getTrainMySignList",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
export function getTrainToSign(data) {
  return request({
    url: "/api/train/getTrainToSign",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
export function getTrainInfo(data) {
  return request({
    url: "/api/train/getTrainInfo",
    method: "get",
    requestBody: "query",
    loading: true,
    params: data
  });
}
